package Test_0518;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-05-18
 * Time: 16:19
 */
import java.util.Scanner;

public class Test1 {
      static int cnt = 6;
        static{
            cnt += 9;
        }
        public static void main2(String[] args){
            System.out.println("cnt = " + cnt);
        }
        static{
            cnt /=3;
        }

    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }

}

class Data {

    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

}